<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php include $this->admin_tpl('header', 'admin');?>
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php include $this->admin_tpl('header', 'admin');?>

<div class="subnav">
    <div class="content-menu ib-a blue line-x">
    <a class="add fb" href=""><em>个人信息</em></a>
    </div>
</div>

<div class="pad-lr-10">
<div class="table-list">
<div class="common-form">
	<input type="hidden" name="info[userid]" value="<?php echo $info['id']?>"></input>
	<input type="hidden" name="info[username]" value="<?php echo $info['name']?>"></input>
<fieldset>
	<legend><?php echo L('basic_configuration')?></legend>
	<table width="100%" class="table_form">
		<tr>
			<td width="120"><?php echo L('moto_name')?></td> 
			<td><?php echo $info['name']?></td>
		</tr>
		<tr>
			<td><?php echo L('moto_sex')?></td> 
			<td><?php if($info['sex'] == 1){echo '男';}elseif($info['sex'] == 2){echo '女';}?></td>
		</tr>
		<tr>
			<td><?php echo L('moto_age')?></td> 
			<td><?php echo $info['age']?></td>
		</tr>
		<tr>
			<td><?php echo L('moto_birthday')?></td> 
			<td><?php echo date('Y-m-d',$info['birthday'])?></td>
		</tr>
		<tr>
			<td><?php echo L('moto_tel')?></td>
			<td>
			<?php echo $info['tel']?>
			</td>
		</tr>
		<tr>
			<td><?php echo L('moto_email')?></td>
			<td>
			<?php echo $info['email'];?>
			</td>
		</tr>
		<tr>
			<td><?php echo L('source')?></td>
			<td>
			<?php if($info['source'] == 1){echo '报名';}elseif($info['source'] == 2){echo '参赛';}?>
			</td>
		</tr>
		
	</table>
</fieldset>
<div class="bk15"></div>
<fieldset>
	<legend><?php echo L('more_configuration')?></legend>
	<table width="100%" class="table_form">
		<tr>
			<td width="120"><?php echo L('moto_address')?></td> 
			<td><?php echo $info['liveaddress']?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moto_birthaddress')?></td> 
			<td><?php echo $info['birthaddress']?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moro_wechat')?></td> 
			<td><?php echo $info['wechat']?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moro_weibo')?></td> 
			<td><?php echo $info['weibo']?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moto_idnumber')?></td> 
			<td><?php echo $info['idnumber']?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moto_measurements')?></td> 
			<td><?php echo $info['measurements']?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moto_height')?></td> 
			<td><?php echo $info['height']?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moto_weight')?></td> 
			<td><?php echo $info['weight']?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moto_schoolunit')?></td> 
			<td><?php echo $info['schoolunit']?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moto_profession')?></td> 
			<td><?php echo $info['profession']?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moto_curriculum')?></td> 
			<td><?php echo $info['curriculum']?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moto_salary')?></td> 
			<td><?php echo $info['salary']?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moto_contestrecord')?></td> 
			<td><textarea id="contestrecord"><?php echo $info['contestrecord']?></textarea><?php echo form::editor('contestrecord','full','','','','','','',300)?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moto_performrecord')?></td> 
			<td><textarea id="performrecord"><?php echo $info['performrecord']?></textarea><?php echo form::editor('performrecord','full','','','','','','',300)?></td>
		</tr>
		<tr>
			<td width="120"><?php echo L('moto_specialityhobby')?></td> 
			<td><?php echo $info['specialityhobby']?></td>
		</tr>
	</table>
</fieldset>
</div>
</div>
</div>
</body>
</html>